<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .box{
            height: 500px;
            width: 500px;
            background-color: pink;
        }
    </style>
</head>
<body>
<div class="box"></div>
<script src="./js/lodash.min.js"></script>
<script>
    const box=document.querySelector('.box')
    let i=1
    function mousemove(){
        box.innerHTML=i++
    }
    box.addEventListener('mousemove',_.debounce())
</script>
</body>
</html>